Discuss the impact of territorial expansion on national unity between 1800 and 1850.